		<script type="text/javascript">
	        function getMakeGroup(value) {
				$.ajax({
					url: "{$link_app}",
					data: "makeid="+value,					
					success: function(msg) {
						 clearAll();
						 if (msg != ''){
						 	$(msg).appendTo('#modelGroup');
						 } else {
							$('<option>----------</option>').appendTo('#modelGroup');
						 }
					}
				});	
			}
	        function clearAll() {
	        	var obj = document.getElementById('modelGroup');
	        	for (var i=obj.options.length; i>0 ; i--) {
	        		obj.remove(0);
	        	}
        	}
	    </script>	


		<div class="container register">
			<div class="sub-nav">
				<ul class="dropdown dropdown-horizontal">
					<li><a href="owner-cms.html">Profile</a></li>
					<li><a href="owner-cms-inventory.html" class="dir">Inventory</a>
						<ul>
							<li><a href="owner-cms-inventory.html">Show Inventory</a></li>
							<li><a href="owner-cms-report.html">Report</a></li>
							<li><a href="owner-cms-blocked-user.html">Blocked User</a></li>
						</ul>
					</li>
					<li><a href="owner-cms-gallery.html">Gallery</a></li>
					<li><a class="active" href="owner-cms-upload-vehicle.html">Upload Vehicle</a>
						<ul>
							<li><a href="owner-cms-upload-vehicle.html">One Vehicle</a></li>
							<li><a href="owner-cms-numerous-vehicle.html">Numerous Vehicle</a></li>
						</ul>
					</li>
				</ul>
				<div class="clearboth"></div>
			</div>
			<!-- end menu profile -->
			
			
			
			<h2 class="h2-upload-vehicle">Upload Vehicle</h2>
			<div class="preview-vehicle">
				<a href="owner-cms-auction-details.html" class="a-preview">Preview</a>
			</div>
			<div class="clearboth"></div>
			
			<div class="tab-2">
				<span class="active">Vehicle Information</span>
				<div class="clearboth"></div>
			</div>
			
			<div class="tab-2-container upload-vehicle">
				<div class="left-upload-vehicle">
					<h4>Specification</h4>
					<table width="100%" class="tb-upload-vehicle-fields">
						<tr>
							<td width="30%">Lot number</td>
							<td width="70%"><input id="lotNumber" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Vehicle Type</td>
							<td width="70%">
								<select id="vehicleType">
									{$vehicleTypes}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Year</td>
							<td width="70%">
								<select id="year">
									{$year}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Make</td>
							<td width="70%">
								<select id="make" onchange="getMakeGroup(this.value);">
									<option value="0">Choose a Make</option>
									{$make}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Model Group</td>
							<td width="70%">
								<select id="modelGroup">
									<option>----------</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Model Detail</td>
							<td width="70%"><input id="modelDetail" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Body Style</td>
							<td width="70%"><input id="bodyStyle" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Color</td>
							<td width="70%"><input id="color" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Damage Description</td>
							<td width="70%">
								<select id="damageDescription">
									<option value="0">Choose a Damage</option>
									{$damage}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Secondary Damage</td>
							<td width="70%">
								<select id="secondaryDamage">
									<option value="0">Choose a Damage</option>
									{$damage}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Sale Title Type</td>
							<td width="70%">
								<select id="saleTitleType">
									<option value="0">Choose a Type</option>
									{$saleTitle}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Has Keys</td>
							<td width="70%">
								<select id="hasKey" >
									<option value="yes">Yes</option>
									<option value="no">No</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">VIN</td>
							<td width="70%"><input id="vin" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Odometer</td>
							<td width="70%"><input id="odometer" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Odometer Brand</td>
							<td width="70%">
								<select id="odometerBrand" >
									<option value="0">Choose a Brand</option>
									<option value="A">Actual (A)</option>
									<option value="N">NON ACTUAL (N)</option>
									<option value="E">EXEMPT (E)</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Lot ACV</td>
							<td width="70%"><input id="lotACV" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Repair cost</td>
							<td width="70%"><input id="repairCost" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Engine</td>
							<td width="70%"><input id="engine" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Drive</td>
							<td width="70%">
								<select id="drive">
									<option value="0">Choose a Drive</option>
									{$drive}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Transmission</td>
							<td width="70%">
								<select id="transmission" >
									<option value="auto">Auto</option>
									<option value="manual">Manual</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Fuel Type</td>
							<td width="70%">
								<select id="fuel">
									<option value="0">Choose a Type</option>
									{$fuel}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Cylinders</td>
							<td width="70%"><input id="cylinders" type="text" value="" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Runs/Drives</td>
							<td width="70%">
								<select id="runsDrives" >
									<option value="yes">Yes</option>
									<option value="no">No</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Special Note</td>
							<td width="70%"><input id="specialNote" type="text" value="" class="text" /></td>
						</tr>
					</table>
				</div>
				
				
				
				
				
				<div class="right-upload-vehicle">
					<h4>Photo</h4>
					<div class="list-thumbs">
						<table width="100%">
							<tr>
								<td><img src="images/sample/img-car-1.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-2.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-3.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-4.jpg" width="88" height="65" alt="" /></td>
							</tr>
							<tr>
								<td><img src="images/sample/img-car-5.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-6.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-1.jpg" width="88" height="65" alt="" /></td>
								<td><img src="images/sample/img-car-2.jpg" width="88" height="65" alt="" /></td>
							</tr>
						</table>
					</div>
					<table width="100%" class="tb-upload-vehicle-fields">
						<tr>
							<td width="30%">Upload photo:</td>
							<td width="70%" class="value"><input type="file" /></td>
						</tr>
					</table>
					<hr />
					<h4>Video</h4>
					<table width="100%" class="tb-upload-vehicle-fields">
						<tr>
							<td width="30%">Upload Video:</td>
							<td width="70%" class="value"><input type="file" /></td>
						</tr>
					</table>
					<hr />
				</div>
				<div class="clearboth"></div>
			</div>
				
				
				
				
			<div class="tab-2">
				<span class="active">Vehicle Information</span>
				<div class="clearboth"></div>
			</div>
			<div class="tab-2-container upload-vehicle">
				<div class="left-upload-vehicle">
					<table width="100%" class="tb-upload-vehicle-fields">
						<tr>
							<td width="30%">Sale Date</td>
							<td width="70%">{$saledateHtml}</td>
						</tr>
						<tr>
							<td width="30%">Time Zone</td>
							<td width="70%">
								<select id="timeZone">
									<option value="pst">PST</option>
									<option value="cst">CST</option>
									<option value="est">EST</option>
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Sale Title State</td>
							<td width="70%">
								<select id="saleState">
									<option value="0">Choose a State</option>
									{$state}
								</select>
							</td>
						</tr>
						<tr>
							<td width="30%">Buy now price</td>
							<td width="70%"><input id="buyNowPrice" type="text" class="text" /></td>
						</tr>
					</table>
				</div>
				<div class="right-upload-vehicle">
					<table width="100%" class="tb-upload-vehicle-fields">
						<tr>
							<td width="30%">Starting Bid</td>
							<td width="70%"><input id="startingBid" type="text" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Minimum Bid Increments</td>
							<td width="70%"><input id="minBidInc" type="text" class="text" /></td>
						</tr>
						<tr>
							<td width="30%">Ended Date</td>
							<td width="70%">{$endeddateHtml}</td>
						</tr>
						<tr>
							<td width="30%">Bid Fees</td>
							<td width="70%"><input id="bidFees" type="text" class="text" /></td>
						</tr>
					</table>
				</div>
				<div class="clearboth"></div>
			</div>
				
			<div class="line-bot">
				<input id="" class="bt-grey" type="button" value="Cancel" />
				<input id="" class="bt" type="submit" value="Upload" />
			</div>
		</div>
